<!DOCTYPE html>
<html>
  <head>
  	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="initial-scale=1.0, minimum-scale=1.0, maximum-scale=2.0, user-scalable=no, width=device-width">
    <meta charset="utf-8">
    <title>表单录入</title>
    <link rel="stylesheet" type="text/css" href="../css/login.css">
    <script src="https://cdn.bootcss.com/jquery/1.9.1/jquery.min.js"></script>
    <script type="text/javascript" src="../js/config.js"></script>
  </head>
  <body>
  	<form>
  	<div class="panel">
  		<div class="title">开票信息</div>
  		<div class="box">
  			<div class="cell">
  				<!-- <input type="hidden" name="billId" value=""> -->
  				<div class="inline-div"><label><span class="red">*</span>发票开具日期</label><input type="date" name="billDate"></div>
  				<div class="inline-div"><label><span class="red">*</span>发票代码</label><input type="text" name="billCode"></div>
  				<div class="inline-div"><label><span class="red">*</span>发票号码</label><input type="text" name="billNo"></div>
  				<div class="inline-div"><label><span class="red">*</span>发票金额(元)</label><input type="text" name="billPrice"></div>
  			</div>
  			<div class="cell">
  				<div class="inline-div"><label><span class="red">*</span>厂牌</label><input type="text" name="billCarMark"></div>
  				<div class="inline-div"><label><span class="red">*</span>号牌</label>
  				<select style="width: 60px;margin-right: 0px;" name="billCarPlateHead">
  					<option value="京">京</option>
  					<option value="津">津</option>
  					<option value="冀">冀</option>
  					<option value="晋">晋</option>
  					<option value="蒙">蒙</option>
  					<option value="辽">辽</option>
  					<option value="吉">吉</option>
  					<option value="黑">黑</option>
  					<option value="浙">浙</option>
  					<option value="皖">皖</option>
  					<option value="闽">闽</option>
  					<option value="赣">赣</option>
  					<option value="鲁">鲁</option>
  					<option value="豫">豫</option>
  					<option value="鄂">鄂</option>
  					<option value="湘">湘</option>
  					<option value="粤">粤</option>
  					<option value="桂">桂</option>
  					<option value="琼">琼</option>
  					<option value="川">川</option>
  					<option value="贵">贵</option>
  					<option value="云">云</option>
  					<option value="渝">渝</option>
  					<option value="藏">藏</option>
  					<option value="陕">陕</option>
  					<option value="甘">甘</option>
  					<option value="青">青</option>
  					<option value="宁">宁</option>
  					<option value="新">新</option>
  					<option value="港">港</option>
  					<option value="澳">澳</option>
  					<option value="台">台</option>
  				</select>
  				-
  				<select style="width: 60px;margin-right: 0px;margin-left: 0px;" name="billCarPlateMiddle">
  					<option value="A">A</option>
  					<option value="B">B</option>
  					<option value="C">C</option>
  					<option value="D">D</option>
  					<option value="E">E</option>
  					<option value="F">F</option>
  					<option value="G">G</option>
  					<option value="H">H</option>
  					<option value="J">J</option>
  					<option value="K">K</option>
  					<option value="L">L</option>
  					<option value="M">M</option>
  					<option value="N">N</option>
  					<option value="P">P</option>
  					<option value="Q">Q</option>
  					<option value="R">R</option>
  					<option value="S">S</option>
  					<option value="T">T</option>
  					<option value="U">U</option>
  					<option value="V">V</option>
  					<option value="W">W</option>
  					<option value="X">X</option>
  					<option value="Y">Y</option>
  					<option value="Z">Z</option>
  				</select>
  				-
  				<input type="text" name="billCarPlateCode"></div>
  				<div class="inline-div"><label><span class="red">*</span>机动车发动机号</label><input type="text" name="billCarEngineNo"></div>
  			</div>
  			<div class="cell">
  				<div class="inline-div"><label><span class="red">*</span>机动车车架号</label><input type="text" name="billCarVin"></div>
  				<div class="inline-div"><label><span class="red">*</span>车辆名称</label><input type="text" name="billCarName"></div>
  				<div class="inline-div"><label>车辆类型</label>
  				<select name="carTypeId" id="carTypeSelect">
  					<option>请选择</option>
  				</select></div>
  			</div>
  			<div class="cell">
  				<div class="inline-div"><label>买方单位／个人</label><input type="text" name="billBuyerName"></div>
  				<div class="inline-div"><label>单位代码／身份证号码</label><input type="text" name="billBuyerNo"></div>
  				<div class="inline-div"><label>买方单位／个人住址</label><input type="text" name="billBuyerAddress"></div>
  				<div class="inline-div"><label style="min-width: 40px;">电话</label><input type="text" name="billBuyerMobile"></div>
  			</div>
  			<div class="cell">
  				<div class="inline-div"><label>卖方单位／个人</label><input type="text" name="billSellerName"></div>
  				<div class="inline-div"><label>单位代码／身份证号码</label><input type="text" name="billSellerNo"></div>
  				<div class="inline-div"><label>卖方单位／个人住址</label><input type="text" name="billSellerAddress"></div>
  				<div class="inline-div"><label style="min-width: 40px;">电话</label><input type="text" name="billSellerMobile"></div>
  			</div>
  			<div class="cell">
  				<div class="inline-div"><span class="red">*</span><label>转入地车管所</label>
  				<select style="margin-right: 0px;" id="provinceSelect" name="provinceId">
  					<option>请选择</option>
  				</select>
  				 - 
  				 <select id="citySelect" style="margin-left: 0px;" name="cityId">
  				 	<option>请选择</option>
  				 </select>
  				<input type="text" name="billDMV"></div>
  			</div>
  			<div class="cell">
  				<label style="float: left;">备注</label>
  				<textarea name="billRemark"></textarea>
  			</div>
  		</div>
  	</div>
  	<div class="panel">
  		<div class="title">开票补充信息</div>
  		<div class="box">
  			<div class="cell">
  				<div class="inline-div"><span class="red">*</span><label>品牌车系</label><input type="text" readonly name="brandName" placeholder="请选择品牌车系"  class="brand-input"></div>
  				<input type="hidden" class="brandId-input" name="brandId">
  				<input type="hidden" class="seriesId-input" name="seriesId">
  				<input type="hidden" class="modelId-input" name="modelId">
  				<div class="inline-div"><label>车身颜色</label>
  				<select name="billCarColor">
  					<option>请选择</option>
  					<option value="黑色">黑色</option>
  					<option value="白色">白色</option>
  					<option value="红色">红色</option>
  					<option value="紫色">紫色</option>
  					<option value="银灰色">银灰色</option>
  					<option value="绿色">绿色</option>
  					<option value="黄色">黄色</option>
  					<option value="深灰色">深灰色</option>
  					<option value="棕色">棕色</option>
  					<option value="香槟金">香槟金</option>
  					<option value="橙色">橙色</option>
  					<option value="蓝色">蓝色</option>
  					<option value="其他">其他</option>
  				</select></div>
  			</div>
  			<div class="cell">
  				<div class="inline-div"><label>所属市场</label>
  				<select id="marketSelect" name="marketId">
  					<option>请选择</option>
  				</select></div>
  				<div class="inline-div"><label>所属商家</label>
  				<select id="shopSelect" name="shopId">
  					<option>请选择</option>
  				</select></div>
  			</div>
  			<input type="hidden" name="userId">
  		</div>
  	</div>
  	<div class="btn-box">
  		<!-- <button class="submit" onclick="submit()">提交</button> -->
  		<div class="cancel" onclick="cancel()">取消</div>
  	</div>
  </form>

  	<div class="cars-bg">
	  	<div class="cars">
	  		<div class="title">
	  			<span>选择品牌</span>
	  			<i class="cars-close"></i>
	  		</div>
	  		<div class="center">
	  			<div class="brand clearfix" >
		  			<div class="words"></div>
		  			<div class="brand-box" ></div>
		  		</div>
		  		<div class="car clearfix" style="display: none;"></div>
		  		<div class="model clearfix" style="display: none;"></div>
	  		</div>
	  		<div class="footer">
	  			<span>已选车型</span>
	  			<span class="pick-box"></span>
	  			<button class="brand-btn">确定</button>
	  		</div>
	  		
	  	</div>
  	</div>

    <div class="loading"></div>
  </body>
  <script type="text/javascript" src="../js/detial.js"></script>
  <script type="text/javascript">

    var numAjax=0;
$(document).ajaxSuccess(function(evt, request, settings){  
    numAjax++;
    if (numAjax>=6) {
      $('.loading').hide()
    }
 }); 


    $('input').attr('disabled','disabled');
    $('select').attr('disabled','disabled');
    $('textarea').attr('disabled','disabled');
  </script>
</html>


































